home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
update1a
/
frmip.frm
< prev
next >
Wrap
Text File
|
1999-07-26
|
4KB
|
132 lines
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmIP
Caption = "<Your Program Name Here> Personal IP Finder"
ClientHeight = 2244
ClientLeft = 48
ClientTop = 336
ClientWidth = 4080
ControlBox = 0 'False
ForeColor = &H80000005&
LinkTopic = "Form2"
ScaleHeight = 2244
ScaleWidth = 4080
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command2
Caption = "&Try Again"
Height = 408
Left = 2640
TabIndex = 3
Top = 1680
Width = 1332
End
Begin VB.CommandButton Command1
Caption = "&OK"
Default = -1 'True
Height = 408
Left = 1440
TabIndex = 0
ToolTipText = "OK"
Top = 1680
Width = 1092
End
Begin MSWinsockLib.Winsock Winsock1
Left = 240
Top = 360
_ExtentX = 593
_ExtentY = 593
_Version = 393216
End
Begin VB.Label Label2
BackColor = &H80000012&
Caption = "Remember: If it shows no IP Address try getting it again by hitting the Try Again Button. Thank You, Carroll Dearstone"
ForeColor = &H000000FF&
Height = 612
Left = 120
TabIndex = 4
Top = 960
Width = 3852
End
Begin VB.Label StatusTxt
BackColor = &H00FFFFFF&
BeginProperty Font
Name = "Arial"
Size = 10.2
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 240
TabIndex = 2
ToolTipText = "Status of midi file"
Top = 480
Width = 3612
End
Begin VB.Label Label1
Caption = "IP Address:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 252
Left = 360
TabIndex = 1
Top = 120
Width = 1332
End
Begin VB.Line Line1
X1 = 120
X2 = 120
Y1 = 240
Y2 = 840
End
Begin VB.Line Line2
X1 = 120
X2 = 3960
Y1 = 840
Y2 = 840
End
Begin VB.Line Line3
X1 = 120
X2 = 360
Y1 = 240
Y2 = 240
End
Begin VB.Line Line4
X1 = 1200
X2 = 3960
Y1 = 240
Y2 = 240
End
Begin VB.Line Line5
X1 = 3960
X2 = 3960
Y1 = 240
Y2 = 840
End
End
Attribute VB_Name = "frmIP"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
StatusTxt.Caption = Winsock1.LocalIP
End Sub
Private Sub Form_Load()
StatusTxt.Caption = Winsock1.LocalIP
End Sub